2008-05-08 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
fd's revents, not the first one. Fixes bug #531056, spotted by
Yevgen Muntyan.
svn path=/trunk/; revision=20086
+2008-05-08 Richard Hult <richard@imendio.com>
+
+ * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
+ fd's revents, not the first one. Fixes bug #531056, spotted by
+ Yevgen Muntyan.
+
2008-05-07 Tor Lillqvist <tml@novell.com>
* gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
if (event)
{
- ufds[0].revents = G_IO_IN;
+ for (i = 0; i < nfds; i++)
+ {
+ if (ufds[i].fd == -1)
+ {
+ ufds[i].revents = G_IO_IN;
+ break;
+ }
+ }
current_event = [event retain];